﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <script src="@Url.Content("/content/jquery/jquery-1.10.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("/content/whale/whale.js")" type="text/javascript"></script>
    <script src="@Url.Content("/content/whale/whale.remote.js")" type="text/javascript"></script>
    <link href="@Url.Content("/content/styles/global.css")" type="text/css" rel="stylesheet" />
    <script src="@Url.Content("/content/scripts/global.js")" type="text/javascript"></script>


    <link href="@Url.Content("/content/kendo/2014.2.903/styles/kendo.common.min.css")" type="text/css" rel="stylesheet" />
    <link href="@Url.Content("/content/kendo/2014.2.903/styles/kendo.blueopal.min.css")" type="text/css" rel="stylesheet" />
    <link href="@Url.Content("/content/kendo/2014.2.903/styles/kendo.dataviz.min.css")" type="text/css" rel="stylesheet" />
    <link href="@Url.Content("/content/kendo/2014.2.903/styles/kendo.dataviz.default.min.css")" type="text/css" rel="stylesheet" />
    <script src="@Url.Content("/content/kendo/2014.2.903/js/kendo.all.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("/content/kendo/2014.2.903/js/cultures/kendo.culture.zh-CHS.min.js")"></script>
    
</head>
<body>
    <div id="loading-mark">
        <img src="~/Content/images/loader.gif" /></div>
    <div id="wndGeneralEdit"></div>
    <script class="wndGeneralEdit">
        var wndGeneralEdit = null;
        $(function () {
            wndGeneralEdit = $("#wndGeneralEdit").kendoWindow({
                title: "General Edit",
                visible: false,
                modal: true,
                resizable: false,
                width: 500,
                open: function () { this.center(); },
                activate: function () {
                    var cont = wndGeneralEdit.content();
                    //console.log(cont);
                    if (cont.indexOf("This is a Login Page") > 0) {
                        location.reload();
                    }
                }
            }).data("kendoWindow");
        });
    </script>

    <div id="wndGeneralInformation"></div>
    <script class="wndGeneralInformation">
        var wndGeneralInformation = null;
        $(function () {
            wndGeneralInformation = $("#wndGeneralInformation").kendoWindow({
                title: "信息",
                visible: false,
                modal: true,
                resizable: false,
                width: 400,
                open: function () { this.center(); }
            }).data("kendoWindow");
        });
    </script>


    <div id="frame_page">
        <div style="background: url(/Content/images/banner.jpg);">
            <div style="padding:10px; color:#022c3e; font-size:15px; text-align:right; font-weight:bold;">
                欢迎您：@PH.Web.Global.WebContext.CurrentUser.RealName
                <a href="/Accounts/User/Logout">退出</a>    
            </div>
        </div>
        <div id="frame_middle">
            <div>@Html.Partial("LeftMenu")</div>
            <div>@RenderBody()</div>
        </div>
    </div>

    <script class="page_frame">
        $(function () {
            $("#frame_page").kendoSplitter({
                orientation: "vertical",
                panes: [
                    { size: "80px", collapsible: false },
                    { resizable: false }
                ]
            });
            $("#frame_middle").kendoSplitter({
                orientation: "horizontal",
                panes: [
                    { size: "200px", collapsible: false, resizable: false },
                    { collapsible: false }
                ]
            });
        });
    </script>

    <script class="loading-hide">
        $(function () {
            $("#loading-mark").hide();
        });
    </script>
</body>
</html>
